package com.tbit.uqbike.webmanager.dao.core;

import com.tbit.uqbike.object.pojo.ParkPointBound;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author HZW
 * @ClassName ParkPointBoundDao
 * @Description
 * @date 2022/1/12 11:28
 * @Version 1.0
 */
public interface ParkPointBoundDao {
    List<ParkPointBound> queryPage(Map<String, Object> params);

    /**
     * 总数
     */
    Integer queryCount(Map<String, Object> params);

    /**
     * 添加
     */
    void insert(ParkPointBound parkPointBound);

    /**
     * 根据设备编号查询
     */
    ParkPointBound getByNO(@Param("machineNO") String machineNO);

    /**
     * 批量添加
     */
    void addBatch(@Param("list") List<ParkPointBound> list);

    /**
     * 根据多个设备编号查设备
     */
    List<String> getByMachineNos(List<String> list);

    /**
     * 删除
     */
    void del(String machienNO);
}
